/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.business.valveDeviceHis.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.core.base.entity.BaseEntity;

/**
 * 阀门井历史数据 Entity
 *
 * @author zk
 * @date 2021-10-27 11:05:07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ValveDeviceHis extends BaseEntity {


    /** 公司编号 */
    private String devid;

    /** 阀门井编号 */
    private String valveId;

    /** 设备编号 */
    private String deviceId;

    /** 设备电池电压 */
    private String voltage;

    /** 最新更新时间 */
    private String lastTime;

    /** 浓度(%)  */
    private String potency;

    /** 失效状态 */
    private String bit0;

    /** 浓度报警 */
    private String bit1;

    /** 水位状态 */
    private String bit2;

    /** 门开状态 */
    private String bit3;

    /** 电池一级欠压 */
    private String bit4;

    /** 电池二级欠压 */
    private String bit5;

    /** 移动状态 */
    private String bit6;

    /** 存储器状态 */
    private String bit7;

    /** 外部电池状态 */
    private String bit8;


    // ========================================
















    /** 逻辑删除字段 */
    @TableLogic
    private Integer deleted;


}